package com.woniu.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.model.entity.YUserAddress;
import com.woniu.model.param.AddAddressParam;
import com.woniu.model.param.UpdateAddressParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 胡歌
 * @since 2024年05月22日
 */
public interface YUserAddressService extends IService<YUserAddress> {

    void  addAddress(AddAddressParam param)throws Exception;

    void  updateAddress(UpdateAddressParam param)throws Exception;

    List<YUserAddress> selectAddress(Integer userId);
}
